package com.jun.service;

import com.jun.entity.Cookie;
import org.springframework.stereotype.Service;

@Service
public interface CookieService {
    int insertCookie(Cookie cookie);    //插入一条cookie
    int deleteCookie(); //删除一条cookie
    int updateCookie(Cookie cookie);    //更新一条cookie
    Cookie searchCookie();  //查询一条cookie
    Cookie searchCookieByMac(String mac);   //通过本机地址mac来查找cookie
    int deleteCookieByMac(String mac);   //通过本机地址mac来删除cookie
}
